Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing NURB Patches


Q3NURBPatch_GetUKnot

You can use the Q3NURBPatch_GetUKnot function to get the value of a knot in the u parametric direction.

TQ3Status Q3NURBPatch_GetUKnot (
TQ3GeometryObject nurbPatch, 
unsigned long knotIndex, 
float *knotValue);
nurbPatch
A NURB patch.
knotIndex
An index into the uKnots field of the specified NURB patch.
knotValue
On exit, the value of the specified knot.
DESCRIPTION
The Q3NURBPatch_GetUKnot function returns, in the knotValue parameter, the knot value of the NURB patch specified by the nurbPatch parameter having the knot index specified by the knotIndex parameter in the uKnots array of u knots.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996